package org.example.myleet.p405;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue("0".equals(solution.toHex(0)));
        Assert.isTrue("1".equals(solution.toHex(1)));
        Assert.isTrue("1a".equals(solution.toHex(26)));
        Assert.isTrue("ffffffff".equals(solution.toHex(-1)));
        Assert.isTrue("ffffff87".equals(solution.toHex(-121)));
    }
}
